package com.easy.singleton;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

/**
 * @ClassName SingletonTest
 * @Description TODO
 * @Author zheng
 * @Date 2022/3/18 14:29
 * @Version 1.0
 **/
public class SingletonTest {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new Thread(() -> {
                System.out.println(Singleton.getInstance().hashCode());
            });
        }
        List lst = new ArrayList();
        lst.sort((o1, o2) -> {

            return 0;
        });
    }
}
